package com.snk.back.dao;


import com.snk.pojo.SysSale;
import com.snk.pojo.SysSaleReason;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysSaleDao {



    List<SysSaleReason> findPageObjects(@Param("name") String name);


    int validById(@Param("id") Integer id,
              @Param("valid") Integer valid);


    int insertObject(SysSale sysSale);






}
